package mytest.bb;

import sde.actor.Realtime;

public class BBSM {

	public static void main(String[] args) {
		Realtime controller = new Realtime();
		Producer p = new Producer();
		Producer p1 = new Producer();
		Producer p2 = new Producer();
		Consumer c = new Consumer();
		BoundedBufferS buffer = new BoundedBufferS(5);
		p.init(buffer, 5);
		p1.init(buffer, 7);
		p2.init(buffer, 4);
		c.init(buffer);
		controller.controller();
	}

}
